package com.caipin.domain.table;

/**
 * @Author: zhunian0322@163.com
 * @DateTime: 2021-10-06 11:35
 * @Description: TODO
 */
@TableName("t_nvr_comparison_images")
public class NVRComparisonImages {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String base64;

    public void setId(Long id) {
        this.id = id;
    }

    public void setBase64(String base64) {
        this.base64 = base64;
    }

    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof com.caipin.domain.table.NVRComparisonImages))
            return false;
        com.caipin.domain.table.NVRComparisonImages other = (com.caipin.domain.table.NVRComparisonImages)o;
        if (!other.canEqual(this))
            return false;
        Object this$id = getId(), other$id = other.getId();
        if ((this$id == null) ? (other$id != null) : !this$id.equals(other$id))
            return false;
        Object this$base64 = getBase64(), other$base64 = other.getBase64();
        return !((this$base64 == null) ? (other$base64 != null) : !this$base64.equals(other$base64));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.caipin.domain.table.NVRComparisonImages;
    }

    public int hashCode() {
        int PRIME = 59;
        result = 1;
        Object $id = getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        Object $base64 = getBase64();
        return result * 59 + (($base64 == null) ? 43 : $base64.hashCode());
    }

    public String toString() {
        return "NVRComparisonImages(id=" + getId() + ", base64=" + getBase64() + ")";
    }

    public Long getId() {
        return this.id;
    }

    public String getBase64() {
        return this.base64;
    }
}

